package com.gm.baseplatform.base.module;

import java.util.List;
import java.util.Map;

public interface ModuleManager {

	public void addModule(Module module);
	
	public List<?> loadFirstLevelModule();
	
	public List<?> loadChildModule(String parent);
	
	public List<?> loadChildModule(String parent,int firstResult,final int maxResult);
	
	public Integer getChildCount(String parent);
	
	public Map<Module,List<?>> buildModuleTreeForPortal();
	
	public Module getModuleByUnid(String unid);
}
